package com.hooper.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Tim Hooper
 * @version 1.0
 * @time 2022/09/24/10:40
 * @EnableDiscoveryClient Nacos服务发现
 */
@EnableFeignClients(basePackages = "com.hooper")
@EnableSwagger2
@EnableDiscoveryClient
@EnableCaching
@SpringBootApplication(scanBasePackages = "com.hooper")
public class HospServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(HospServiceApplication.class, args);
    }
}
